package com.firefly.service.repository.cms;

import com.firefly.dao.dao.cms.po.ConfigPo;
import com.firefly.dao.dao.cms.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @description: CMS系统配置
 * @author: lzg(萤火科技 ： 854378082 @ qq.com)
 * @date: 2022/12/12
 **/
@Repository
public class ConfigRepository {
    private final ConfigService configService;
    @Autowired
    public ConfigRepository(ConfigService configService){
        this.configService = configService;
    }

    public boolean update(ConfigPo entity){
        return configService.updateById(entity);
    }
}